
#include "S_23_FavoriteTypeData_doChange.h"
#include "property_decoder.h"
#include "spec.h"

void P_23_1_UserDefinedMode_doChange(const char * newValue)
{
	property_value_t thiz;
    memset(&thiz,0,sizeof(thiz));

	property_value_new_string(&thiz,newValue);
	
	if (send_property_changed(23, 1, &thiz) != MIIO_OK)
    {
       LOG_INFO("%s:send_property_changed failed!\n",__func__);
    }
    
}

void P_23_2_RecommendMode_doChange(const char * newValue)
{
	property_value_t thiz;
    memset(&thiz,0,sizeof(thiz));

	property_value_new_string(&thiz,newValue);
	
	if (send_property_changed(23, 2, &thiz) != MIIO_OK)
    {
       LOG_INFO("%s:send_property_changed failed!\n",__func__);
    }
   
}

void P_23_3_AlwaysFavoriteOn_doChange(bool newValue)
{
	property_value_t thiz;
    memset(&thiz,0,sizeof(thiz));

	property_value_new_boolean(&thiz,newValue);
	
	if (send_property_changed(23, 3, &thiz) != MIIO_OK)
    {
       LOG_INFO("%s:send_property_changed failed!\n",__func__);
    }
    
}

